package com.cyf.db.mapper.ad;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * Created by hfy on 2017/5/16.
 */

public interface AdPlanMapper {

    @Update("update plan set status = #{payStatus} where adId = #{adId}")
    void updateStatusByAdId(@Param("adId") Integer adId, @Param("payStatus") int payStatus);
}
